#ifndef __CANID_LIST_H
#define __CANID_LIST_H

#include "stdint.h"

enum STDID_LIST
{
    // From Gcs
    /* to all Ecu */
    Gcs2allEcu_UDS = 0x100,
    Gcs2allEcu_WriteInfo = 0x101,
    Gcs2allEcu_Write = 0x102,
    Gcs2allEcu_Check = 0x103,
    Gcs2allEcu_Execute = 0x104,
    /* to Master Ecu */
    Gcs2MasterEcu_UDS = 0x140,
    Gcs2MasterEcu_WriteInfo = 0x141,
    Gcs2MasterEcu_Write = 0x142,
    Gcs2MasterEcu_Check = 0x143,
    Gcs2MasterEcu_Execute = 0x144,
    /* to Slave Ecu */
    Gcs2SlaveEcu_UDS = 0x160,
    Gcs2SlaveEcu_WriteInfo = 0x161,
    Gcs2SlaveEcu_Write = 0x162,
    Gcs2SlaveEcu_Check = 0x163,
    /* to Actuactor Ecu */
    Gcs2ActuactorEcu_UDS = 0x180,
    Gcs2ActuactorEcu_WriteInfo = 0x181,
    Gcs2ActuactorEcu_Write = 0x182,
    Gcs2ActuactorEcu_Check = 0x183,
    /* to Task Ecu */
    
    // From MasterEcu
    /* to Gcs */
    MasterEcu2Gcs_UDS = 0x220,
    MasterEcu2Gcs_WriteInfo = 0x221,
    MasterEcu2Gcs_Write = 0x222,
    MasterEcu2Gcs_Check = 0x223,
    MasterEcu2Gcs_Success = 0x224,
    MasterEcu2Gcs_Failed = 0x225,
    /* to Slave Ecu */
    /* to Actuactor Ecu */
    /* to Task Ecu */

    // From SlaveEcu
    /* to Gcs */
    SlaveEcu2Gcs_UDS = 0x320,
    SlaveEcu2Gcs_WriteInfo = 0x321,
    SlaveEcu2Gcs_Write = 0x322,
    SlaveEcu2Gcs_Check = 0x323,
    SlaveEcu2Gcs_Success = 0x324,
    SlaveEcu2Gcs_Failed = 0x325,
    /* to Master Ecu */
    SlaveEcu2MasterEcu_Longitude = 0x340,
    SlaveEcu2MasterEcu_latitude = 0x341,
    /* to Actuactor Ecu */
    /* to Task Ecu */

    // From ActuactorEcu
    /* to Gcs */
    ActuactorEcu2Gcs_UDS = 0x420,
    ActuactorEcu2Gcs_WriteInfo = 0x421,
    ActuactorEcu2Gcs_Write = 0x422,
    ActuactorEcu2Gcs_Check = 0x423,
    ActuactorEcu2Gcs_Success = 0x424,
    ActuactorEcu2Gcs_Failed = 0x425,
    /* to Master Ecu */
    ActuactorEcu2MasterEcu_Longitude = 0x440,
    ActuactorEcu2MasterEcu_latitude = 0x441,
    /* to Slave Ecu */
    /* to Task Ecu */

    // From TaskEcu

};

uint16_t getCANID(unsigned char dstId,unsigned char msgId);

#endif
